package com.songlanyun.modules.order.model.dto;

import com.songlanyun.common.drive.ValueObject;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class CheckServiceGoodsDTO implements ValueObject
{
    /**
     * 核销码
     */
    @NotBlank(message = "核销码不能空")
    private  String verificationCode;

    /**
     * 备注
     */
    @Length(max = 200,message = "备注不能为空")
    private  String remark;
}
